    uint8_t u8ILoop, u8JLoop;
    uint8_t u8Bit;

    {{c_code.struct_ptr_prefix}}{{c_code.struct_name}}{{c_code.struct_ptr_suffix}} ptRegster = NULL;

    for (u8ILoop = 0; u8ILoop < sizeof(_idToSlaveRegMap) / sizeof(_idToSlaveRegMap[0]); u8ILoop++)
        if (_idToSlaveRegMap[u8ILoop].u8Id == slave_id)
            ptRegster = _idToSlaveRegMap[u8ILoop].ptRegister;

    if (ptRegster == NULL)
        return -1;

    u8ILoop = 0;